package com.pureut.storage.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/***
 * 打印明细表 实体
 * Author:C
 * Date:2022/12/27 11:51
 * @DESC
 */
@Data
@TableName("incoming_material_printing_detail")
@Accessors(chain = true)
public class IncomingMaterialPrintingDetail {

    /**
     * id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 来料打印id
     */
    private long printId;

    /**
     * 委外打印id
     */
    private long subcontractId;

    /**
     * 物料号码
     */
    private String materialNumber;

    /**
     * 物料id
     */
    private long materialId;

    /**
     * 物料类别
     */
    private int materialCategory;

    /**
     * 毛重
     */
    private double grossWeight;

    /**
     * 净重
     */
    private double netWeight;

    /**
     * 入库数量
     */
    private long receiptQuantity;

    /**
     * 批次号
     */
    private String batchNo;

    /**
     * 生产日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dateManufacture;

    /**
     * 物料编码
     */
    private String materialCode;

    /**
     * 幅宽
     */
    private double widthCloth;

    /**
     * 卷长
     */
    private double rollLength;

    /**
     * 厚度
     */
    private String thickness;

    /**
     * 采购入库id
     */
    private long receiptId;

    /**
     * 单位
     */
    private String materialUnit;
}
